package cn.org.donald.pojo.vo;

import cn.org.donald.framework.base.BaseModel;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author : Donald
 * @since : 2021/1/12 17:00
 */
public class LogSqlGroupByMethodVo extends BaseModel {

    private Long id;

    private String application;

    private Long count;

    private Long timeConsume;

    private String method;

    private Long minConsume;

    private Long maxConsume;

    private Long avgConsume;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastRequestTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getApplication() {
        return application;
    }

    public void setApplication(String application) {
        this.application = application;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public Long getTimeConsume() {
        return timeConsume;
    }

    public void setTimeConsume(Long timeConsume) {
        this.timeConsume = timeConsume;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public Long getMinConsume() {
        return minConsume;
    }

    public void setMinConsume(Long minConsume) {
        this.minConsume = minConsume;
    }

    public Long getMaxConsume() {
        return maxConsume;
    }

    public void setMaxConsume(Long maxConsume) {
        this.maxConsume = maxConsume;
    }

    public Long getAvgConsume() {
        return avgConsume;
    }

    public void setAvgConsume(Long avgConsume) {
        this.avgConsume = avgConsume;
    }

    public Date getLastRequestTime() {
        return lastRequestTime;
    }

    public void setLastRequestTime(Date lastRequestTime) {
        this.lastRequestTime = lastRequestTime;
    }
}
